//---------------------------------------------------------------------------

#ifndef CPAdFuncH
#define CPAdFuncH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "Cadpad.h"
#include "CGAUGES.h"
#include "PHDS.h"
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include "PHEdit.h"
#include "PHLabel.h"
#include "PHSpdBut.h"
#include "PHCombo.h"
#include "DMAdFunc.h"
//---------------------------------------------------------------------------
class TCPAdFunc1 : public TCadPad1
{
__published:	// IDE-managed Components
    PHLabel *PHLabel1;
    PHEdit *PHEdit1;
    PHLabel *PHLabel3;
    PHEdit *PHEdit29;
    PHLabel *PHLabel4;
    PHEdit *PHEdit30;
    PHSpeedButton *PHSpeedButton1;
    PHEdit *PHEdit31;
    PHLabel *PHLabel5;
    PHComboBox *PHComboBox2;
        TPanel *Panel3;
        TLabel *Label2;
        TLabel *Label3;
        TLabel *Label4;
        TLabel *Label5;
        TLabel *Label6;
        TLabel *Label7;
        TLabel *Label8;
        TLabel *Label9;
        TLabel *Label10;
        TLabel *Label11;
        PHEdit *PHEdit11;
        PHEdit *PHEdit12;
        PHEdit *PHEdit13;
        PHEdit *PHEdit14;
        PHEdit *PHEdit15;
        PHEdit *PHEdit16;
        PHEdit *PHEdit17;
        PHEdit *PHEdit18;
        PHEdit *PHEdit19;
        PHEdit *PHEdit28;
        PHEdit *PHEdit27;
        PHEdit *PHEdit26;
        PHEdit *PHEdit25;
        PHEdit *PHEdit24;
        PHEdit *PHEdit23;
        PHEdit *PHEdit22;
        PHEdit *PHEdit21;
        PHEdit *PHEdit20;
        TLabel *Label12;
        PHLabel *PHLabel6;
        PHEdit *PHEdit32;
        TLabel *Label1;
        TLabel *Label13;
        TLabel *Label14;
        TLabel *Label15;
        TLabel *Label16;
        TLabel *Label17;
        TLabel *Label18;
        TLabel *Label19;
        TLabel *Label20;
        TLabel *Label21;
 PHLabel *PHLabel2;
 PHComboBox *PHComboBox1;
    void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
        void __fastcall PHDS1BeforeDelete(TObject *Sender);
        void __fastcall PHDS1BeforePost(TObject *Sender);
        void __fastcall PHDS1AfterOpen(TObject *Sender);
        void __fastcall PHDS1AfterRead(TObject *Sender);
        void __fastcall PHDS1AfterInsert(TObject *Sender);
        void __fastcall PHEdit11Exit(TObject *Sender);
 void __fastcall PHDS1AfterPost(TObject *Sender);
private:	// User declarations
    struct ADFUNC * Adicional;
    void __fastcall MostraFaixas(void);
public:		// User declarations
    __fastcall TCPAdFunc1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TCPAdFunc1 *CPAdFunc1;
//---------------------------------------------------------------------------
#endif
